package net.huashitong.keyan.service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.core.dao.StringDao;
import com.sirdc.modules.sys.base.StringPKService;
import net.huashitong.keyan.dao.ZhengxiangJiliDao;
import net.huashitong.keyan.entity.ZhengxiangJili;
import net.huashitong.keyan.filter.ZhengxiangJiliFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZhengxiangJiliService extends StringPKService<ZhengxiangJili> {
    @Autowired
    private ZhengxiangJiliDao dao;

    @Override
    protected BaseDao<ZhengxiangJili, String> getDao() {
        return dao;
    }

    public List<ZhengxiangJili> getList(ZhengxiangJiliFilter filter)
    {
        return dao.getList(filter);
    }
}
